/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ticketmachine.logic.priceStrategies;

import ticketmachine.logic.Ticket;

/**
 *
 * @author oiiv2253
 */

public class PriceCalculatorFamily implements IPriceCalculatorStrategy {

    @Override
    public float calculatePrice(Ticket t) {
        return (float) (t.getPrice() * 2.5);
    }

}
